package com.senlingspace.system.domain.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 项目票价管理
 * <p>
 * 添加 or 编辑
 *
 * @author lebronjames
 */
@Data
public class ProjectTicketFareManagementDto implements Serializable {

    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 默认统一定价
     */
    private List<UniformPrice> defaultUniformPrices;

    /**
     * 门店价
     */
    private List<ShopPrice> shopPrices;


    @Data
    public static class ShopPrice implements Serializable {
        /**
         * 门店主键
         */
        private Long shopId;

        /**
         * 票类主键
         */
        private Long ticketCategoryId;

        /**
         * 票档主键
         */
        private Long ticketLevelId;

        /**
         * 门店价
         * <p>
         * 元
         */
        private String shopPrice;

    }

    @Data
    public static class UniformPrice implements Serializable {
        /**
         * 票档主键
         */
        private Long ticketLevelId;

        /**
         * 票类主键
         */
        private Long ticketCategoryId;

        /**
         * 统一价
         * <p>
         * 元
         */
        private String uniformPrice;

    }

}
